from flask import Flask
from flask_cors import CORS
# 导入蓝图
from user_admin import user_admin


# 创建
app = Flask(__name__)
# 注册蓝图
app.register_blueprint(user_admin)


# 跨域
CORS(app)


# 注册蓝图

@app.route('/')
def hello_world():
    return 'Hello, World!'


if __name__ == '__main__':
    app.run(port=6688,debug=True)